package com.dingding.order.core.special.dao;

import java.util.List;

import com.dingding.common.core.base.dao.IBaseDao;
import com.dingding.common.core.beans.special.Specialuserlogin;
import com.dingding.common.core.beans.special.UserspecialorderT;
import com.dingding.common.core.util.amap.amapDto.GetDistanceDto;
import com.dingding.order.dto.march.underway.UderWayOrderDto;

public interface ISpecialOrderDao extends IBaseDao<UserspecialorderT>{

	/**
	 * @Description:获取所有司机的经纬度信息
	 * @author fengshuonan
	 * @since 2.4
	 */
	public List<GetDistanceDto> getAllDriverCarInfos(String currentCity,Integer userRole);
	
	/**
	 * @Description:获取专车的订单状态
	 * @author fengshuonan
	 * @return int （0 查询不到订单）
	 * @since 2.4
	 */
	public int getOrderStatus(String orderId);
	
	/**
	 * @Description: 获取专车进行中订单
	 * @param userId 用户id
	 * @author fengshuonan
	 * @return List<ResUnderWayOrder>
	 * @since 2.4
	 */
	public List<UderWayOrderDto> getSpecialUnderWayOrders(String userId,Integer clientType);
	
	/**
	 * @Description:专车的临时订单迁移到正式订单
	 * @param ordert 临时订单的id
	 * @author fengshuonan
	 * @since 2.4
	 */
	public void OrderTempToFormal(String ordertId);
	
	/**
	 * @Description:获取司机的登录bean
	 * @param userId 用户id
	 * @author fengshuonan
	 * @since 2.4
	 */
	public Specialuserlogin getDriverLogin(String userId);
}
